//index.js
const app = getApp();
let that = null;
import store from "../../factory"
import * as Request from '../../request';
import * as mouble from '../../until';

Page({
  data: {
    showModal: false,
    confrimText: "确定",
    //普通选择器2：（普通json格式数组）
    objectArray: [
      {
        id: 0,
        name: '中国'
      },
      {
        id: 1,
        name: '美国'
      },
      {
        id: 2,
        name: '德国'
      },
      {
        id: 3,
        name: '法国'
      }
    ],
    objectIndex: 0,//默认显示位置
  },

  onLoad: function () {
  },
  onShow() {

  },
  buy() {
    this.setData({
      showModal: true
    })
  },
  hideModal() {
    this.setData({
      showModal: false
    })
  }

})
